import { FishActionObject } from "./FishActionObject";
import { FishController } from "../ObjController/FishController";
import { SWFPlayer } from "../../../../scene/modle/SWFPlayer";
//class Fish
    
    export  class Fish extends FishActionObject
    {
        constructor(arg1: FishController, arg2: SWFPlayer=null)
        {
            super(arg1, arg2);
            return;
        }

        public dead(): void
        {
            this._isDead = true;
            return;
        }

        public /* override */ Do(): void
        {
            if (this._isDead) 
            {
                return;
            }
            super.Do();
            return;
        }

        /* internal */ /* var */_isDead: Boolean=false;
    }
